<template>
  <div class="count">
    <h2>count组件</h2>
    <p>count:{{count}}</p>
    <p>imgUrl:{{imgUrl}}</p>
    <p>title:{{title}}</p>
    <p>otherTitle:{{otherTitle}}</p>
  </div>
</template>

<script>
export default {
name:"Count",
data(){
  return{}
},
props:{
  count:Number,
  imgUrl:String,
  title:String,
  otherTitle:{
    type:String,
    default:"吃啥....",
  }
},
methods: {
  
},
}
</script>

<style scpoed>
.count{
  background-color: pink;
}
</style>